<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('流程定义图')" />
    <style type="text/css">
    	html{background:#FFFFFF;}
    </style>
</head>
<body>
<div style="text-align:center;margin-top:15px;width:100%;">
    <img id="showImg" style="vertical-align: middle;">
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
    /*<![CDATA[*/
    var prefix = ctx + "flowable/definition";
    var proDefId = [[${proDefId}]];
    /*]]>*/
</script>
<script type="text/javascript">
    var $,layer,form,table,laydate,element;//定义layui模块
    layui.use(['layer','jquery','util','element'], function () {
        $ = layui.$,layer = layui.layer,util = layui.util,element=layui.element;
        layui.element.render();
    });
    $(function() {
        var imgUrl =  prefix + '/getFlowsheet/' + proDefId;
        $('#showImg').attr('src', imgUrl);
    });
</script>
</body>
</html>